//==============================================================================
// Stable (Norse)_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

==============================================================================
anim Idle
{
   SetSelector
   {
		TechLogic none/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
				Visual Building N StableAge2
connect FACE FlagStable hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium A
                                        Replacetexture building e age2/norsemod age2
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium B
                                        Replacetexture building e age2/norsemod age2
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
				Visual Building N StableAge3
connect FACE FlagStable hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium A
                                        Replacetexture building e age3/norsemod age3
                                        Replacetexture building e age3a accessories/storehouse age3 accessories
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium B
                                        Replacetexture building e age3/norsemod age3
                                        Replacetexture building e age3a accessories/storehouse age3 accessories
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
				Visual Building N StableAge4
connect FACE FlagStable hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium A
                                        Replacetexture building e age4/norsemod age4
                                        Replacetexture building e age4roof/storehouse age4 accessories
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium B
                                        Replacetexture building e age4/norsemod age4
                                        Replacetexture building e age4roof/storehouse age4 accessories
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
		TechLogic none/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
				Visual Building N Stable_Age2_death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium A
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium B
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
				Visual Building N Stable_Age3_death
		replaceTexture building n stable/building n stable_02
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium A
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium B
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 50
			set hotspot
			{
				version
				{
				Visual Building N Stable_Age4_death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium A
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction medium B
					connect ATTACHPOINT empower hotspot
					connect CHIN N_Small_Brick hotspot
					connect FACE N_Medium_Brick hotspot
					connect ATTACHPOINT N_Long_Brick hotspot
				}
			}
		}
	}
}


